package com.luoye.lj.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Created by Administrator on 2018/6/2.
 */
@FeignClient(value = "service-hi",fallback = HiClientFallback.class)
public interface IHiClient {

    @RequestMapping(value = "/hi/hi/say",method = RequestMethod.GET)
    String say(@RequestParam(value = "name") String name);
}
